/*
 * @Descripttion: 
 * @version: 
 * @Author: TT
 * @Date: 2023-08-26 10:30:57
 * @LastEditors: TT
 * @LastEditTime: 2023-10-31 16:05:42
 */

import 'package:hzy_project_template/commpontents/normal_input_widget.dart';
import 'package:hzy_project_template/config/config_index.dart';
import 'package:hzy_project_template/models/image_normal_model.dart';

class NoteLoginConfig {
  /// 1 头像 2 空
  int headerType = 1;

  /// 1 昵称 2 Slog 3 空
  int nickNameType = 1;

  /// 1 只有密码 2 账号密码 3 账号 密码 密码
  int inputStype = 1;

  /// 底部类型 1 显示全部 2 显示两个 3 空
  int bottomType = 1;

  /// 登录按钮text
  String? text;

  String? nickName;

  String? account;

  /// 头像数据
  ImageNormalModel? imageNormalModel;

  /// 注册时用户头像,
  dynamic selectImage;

  NoteLoginConfig({
    this.headerType = 1,
    this.nickNameType = 1,
    this.inputStype = 1,
    this.bottomType = 0,
    this.imageNormalModel,
    this.isCanTap = true,
    this.text,
    this.nickName,
  });

  /// 是否可以点击按钮
  bool isCanTap;

  /// 密码
  InputModel passWordInputModel = InputModel(
    hintText: NoteLauncIdConfig.passwordHint.tr,
    leftText: NoteLauncIdConfig.password.tr,
    type: InputType.titleAndTf,
  );

  /// 昵称
  InputModel nickNameInputModel = InputModel(
    hintText: NoteLauncIdConfig.nickNameHint.tr,
    leftText: NoteLauncIdConfig.nickName.tr,
    type: InputType.titleAndTf,
  );

  /// 账号
  InputModel accountInputModel = InputModel(
    hintText: NoteLauncIdConfig.accountHint.tr,
    leftText: NoteLauncIdConfig.account.tr,
    type: InputType.titleAndTf,
  );

  List<InputModel> list = [];
}
